import BaseLayerModule from './base/BaseLayerModule'
import axios from 'axios'

export class BigScreen extends BaseLayerModule {
    constructor(that) {
        super(that)
    }

    /**
     * 测试接口 POST请求
     参数：raw
     {
        "userId": "13"
        }
     * @param callBack
     */
    getWaterTotal(params,callBack,fillBack) {
        this.thyPostModuleData('api/big_screen/water_total', params, callBack,fillBack);
    }
    getChargeTotal(params,callBack,fillBack) {
        this.thyPostModuleData('api/big_screen/charge_total', params, callBack,fillBack);
    }
    getNrwTotal(params,callBack,fillBack) {
        this.thyPostModuleData('api/big_screen/nrw_total', params, callBack,fillBack);
    }
    getNrwTotalMonth(params,callBack,fillBack) {
        this.thyPostModuleData('api/big_screen/nrw_total_month', params, callBack,fillBack);
    }
    getMentRunStatus(params,callBack,fillBack) {
        this.thyPostModuleData('api/third_ment/get_ment_total', params, callBack,fillBack);
    }
    getPointList(params,callBack,fillBack) {
        this.thyPostModuleData('api/third_ment/get_point_list', params, callBack,fillBack);
    }
    getScreenList(params,callBack,fillBack){
        this.thyGetModuleData('api/third_ment/get_large_screen_data', params, callBack,fillBack);
    }
    // 水质监测
    getMonitorList(params,callBack,fillBack) {
        this.thyPostModuleData('api/third_ment/get_monitor_list', params, callBack,fillBack);
    }
    // 液位计
    getMeterList(params,callBack,fillBack) {
        this.thyPostModuleData('api/third_ment/get_meter_list', params, callBack,fillBack);
    }
    getSystenInfo(params,callBack,fillBack) {
        this.thyPostModuleData('api/big_screen/get_system', params, callBack,fillBack);
    }
}
